package com.ktwlrj.core.feign.args;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotEmpty;

/**
 * 信息查询模型
 * @author TY
 *
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class SysInformationQuery extends SysPagerQueryModel {
	/**
	 * 信息类型编码
	 */
	@ApiModelProperty(value = "信息类型编码", name = "informationTypeKey",required = true)
	@NotEmpty(message = "信息类型编码不能为空")
	private String informationTypeKey;

	/**
	 * 信息频道标识
	 */
	@ApiModelProperty(name = "channelKey", value = "信息频道编码",required = true)
	@NotEmpty(message = "信息频道编码不能为空")
	private String channelKey;
}
